﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SYH.User.BLL
{
   public  class UserInfoDetail
    {
       private static readonly SYH.User.DAL.UserInfoDetail dal = new DAL.UserInfoDetail();

        #region 得到会员详细信息

        /// <summary>
        /// 得到会员详细信息
        /// </summary>
        /// <param name="UserId"></param>
        /// <param name="Type"></param>
        /// <returns></returns>
        public static string GetContent(int UserId, int Type)
        {
            return dal.GetContent(UserId, Type);
        }

        #endregion

        #region 增
        /// <summary>
        /// 增加一条数据,根据UserId和Type判断如果存在则执行更新
        /// </summary>
        public static int Add(SYH.User.Model.UserInfoDetail model)
        {
            return dal.Add(model);
        }
        #endregion

    }
}
